/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.mphokazi.designpatterns.part1.creational.Builder;

/**
 *
 * @author user
 */
public class MealDirector {
   private MealBuilder mealBuilder = null;
        
    public MealDirector(MealBuilder mealBuilder){
        this.mealBuilder = mealBuilder;
    }
    public void constractMeal(){
        mealBuilder.builderDrink();
        mealBuilder.buildSide();
        mealBuilder.buildMealCourse();
    }
    public Meal getMeal()
    {
        return mealBuilder.getMeal();
    }
    }
    

